-- GENERATED SPELL FOR [Darkspear Axe Thrower] --


function spell0_18970(pUnit, Event) --@Throw,n/a--
pUnit:FullCastSpellOnTarget(10277,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18970', 500, 1)
end

function Sorts_18970(pUnit, Event)
local choix_sorts_18970 = math.random(0, 0)
if choix_sorts_18970 == 0 then
pUnit:RegisterEvent('spell0_18970', 1, 1)
end
end

function mob18970_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18970', math.random(1500, 3000), 1)
end

function mob18970_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18970_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18970_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18970, 1, 'mob18970_Action')
RegisterUnitEvent(18970, 2, 'mob18970_Leave')
RegisterUnitEvent(18970, 3, 'mob18970_Kill')
RegisterUnitEvent(18970, 4, 'mob18970_Die')
